package com.lin.setting.setting.desensitization;

import com.lin.setting.setting.desensitization.handler.DesensitizationHandler;

/**
 * @作者: 林江
 * @创建时间: 2024/5/3
 * @功能: 脱敏助手
 */
public class FieldDesensitizationHelper {

    public DesensitizationHandler createDesensitizationHandler(Class<? extends DesensitizationHandler> handler) {
        try {
            return handler.newInstance();
        } catch (Exception e) {
            return null;
        }
    }
}
